package com.rivulet.dawn.service.mapper.business;

import com.rivulet.dawn.api.model.business.DictionaryModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DictionaryMapper {
    int deleteByPrimaryKey(Long id);

    int insert(DictionaryModel record);

    int insertSelective(DictionaryModel record);

    DictionaryModel selectByPrimaryKey(Long id);

    List<DictionaryModel> selectByDictType(@Param("dictType") String dictType);

    int updateByPrimaryKeySelective(DictionaryModel record);

    int updateByPrimaryKey(DictionaryModel record);
}